<#assign contextPath=springMacroRequestContext.getContextPath() />
<#import "/public/frame/main.html" as frame />
<@frame.head "南航明珠商城-商品列表">
</@frame.head>

<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 后台管理中心 <span class="c-gray en">&gt;</span>订单管理 <span class="c-gray en">&gt;</span> 会员信息查询  <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<div class="page-container">
<form method="post" name="query_memberInfo"  id="query_memberInfo" action="${contextPath}/member/query_member_info" >  
 <input type="hidden" name="page" value="${pagination.pageNo}"  id="page" />   
    <div class="text-c">
        <table class="table">
           <tr>  
           <td colspan="2">会员卡号：
           <input type="text" class="input-text  radius" style="width:250px" placeholder="会员卡号" id="memberNo" name="memberNo" value="${memberNo}" >
                         验证码：
 <input type="text" class="input-text  radius" style="width:250px" placeholder="验证码" id="validcode" name="validcode" value="" >
                    <b>
                        <img id="validCodImg" src="${contextPath}/member/valid-code-image.jpg" onclick="$(this).attr('src', '${contextPath}/member/valid-code-image.jpg?'+new Date());" >
                    </b>
                    <a href="javascript:;" onclick="$('#validCodImg').attr('src', '${contextPath}/member/valid-code-image.jpg?'+new Date());">换一张</a>
                    <span class="notice" id="code"></span>
                
         	 <input class="btn btn-success radius" type="button"  onclick="search();"  value="搜索" />
          
        	</td>

          </tr>
          <tr>
                  	<td>
        	<p style="color: red">${msg}
        	</p>
        	</td>
          </tr>
           </table>
          <table class="table table-border table-bordered table-bg"> 
          <tr> 
          	<td>姓名： ${member.name}	</td>
          	<td> 所在区域:	</td>
          
           </tr>
           
            <tr> 
          	<td>	会员级别：
					<span id="" name="" style="">
					 <#if member.mlevel==1 > 普通会员
					 	<#elseif member.mlevel==2  >银卡会员
	                 	<#elseif member.mlevel==3  >金卡会员
	                 	<#elseif member.mlevel==4  >公司卡会员
	                 	<#elseif member.mlevel==5  >礼遇银卡会员
	                 	<#elseif member.mlevel==6 >礼遇金卡会员
						<#elseif member.mlevel==6 >白金卡会员
					 </#if>						 
					</span>	
			</td>
          	<td> 详细地址：  <span id="" name="" style="">${member.address}</span>		</td>
          
          
           </tr>
           
           
             <tr> 
          	<td>	会员卡号：  <span id="" name="" style="">${member.memberNo}</span>		</td>
			</td>
          	<td>常用邮箱：  <span id="" name="" style="">${member.userEmail}</span>		</td>
          
          
           </tr>
          
           
           
           
            
             <tr> 
          	<td>	剩余里程 ：   <span id="" name="" style="">${member.userMileage}</span>		</td>
			</td>
          	<td>手机：  <span id="" name="" style="">${member.phone}</span>	</td>
          
          
           </tr>
          
              <tr> 
          	<td>	</td>
			</td>
          	<td>联系电话：  <span id="" name="" style="">${member.tel}</span>		</td>
          
          
           </tr>
          <!--  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
           
        <!--   <tr>  
         <td> 
            
				姓名： ${member.name}	
				<br />会员级别：
					<span id="" name="" style="">
					 <#if member.mlevel==1 > 普通会员
					 <#elseif member.mlevel==2  >银卡会员
	                 <#elseif member.mlevel==3  >金卡会员
	                 <#elseif member.mlevel==4  >公司卡会员
	                 <#elseif member.mlevel==5  >礼遇银卡会员
	                 <#elseif member.mlevel==6 >礼遇金卡会员
					 </#if>						 
					</span>							
				<br />会员卡号：  <span id="" name="" style="">${member.memberNo}</span>	
				<br />剩余里程 ：   <span id="" name="" style="">${member.userMileage}</span>		
					
        </td>
         <td>	 所在区域:
            	<br />详细地址：  <span id="" name="" style="">${member.address}</span>	
          	 	<br />常用邮箱：  <span id="" name="" style="">${member.userEmail}</span>	
            	<br />手机：  <span id="" name="" style="">${member.phone}</span>	
            	<br />联系电话：  <span id="" name="" style="">${member.tel}</span>	
        </td>
          </tr> -->
      
      </table>
    </div>
</form>

    <div class="cl pd-5 bg-1 bk-gray mt-20"> 
  
    
    <span class="r">共有数据：<strong> ${pagination.totalCount} </strong> 条</span> </div>
    <table class="table table-border table-bordered table-bg">
        <thead>
        
        <tr   class="text-c">
            <!-- <th width="45px">
            <input  type="checkbox" id="selectAll" disabled="disabled" onclick="checkAll()"/>
            </th> -->
            <th width="120">查询卡号</th>
            <th width="170">查询时间</th>
           
            <th width="100">查询人</th>
    
        </tr>
        </thead>
        <tbody>
       <#if pagination.list?? && (pagination.list?size &gt; 0) >
        <#list pagination.list as memberlog> 
        	 <tr>
        	   	<td >${memberlog.queryMember}  </td>
        	   	<td >  ${memberlog.queryTime?datetime } </td>
        	   	<td >  ${memberlog.userName } </td>
        	 </tr>
      </#list></#if>
     </tbody>
    </table>
    <div id="biuuu_city" style="padding-top: 10px;float: right"></div>
<@frame.end "default">
</@frame.end>

<script type="text/javascript" src="${contextPath}/resources/lib/My97DatePicker/4.8/WdatePicker.js"></script>
<script type="text/javascript" src="${contextPath}/resources/js/laypage/laypage.js"></script>
<script type="text/javascript" src="${contextPath}/resources/js/order/list_member.js"></script>
 
</body>

<script type="text/javascript">
var path="${contextPath}";
laypage({
    cont: 'biuuu_city',//容器。值支持id名、原生dom对象，jquery对象。
    pages: ${pagination.totalPage},//通过后台拿到的总页数
    curr:  ${pagination.pageNo} || 1, //当前页
    skip: true, //是否开启跳页
	first: 1, //将首页显示为数字1,。若不显示，设置false即可
	last: ${pagination.totalPage}, //将尾页显示为总页数。若不显示，设置false即可
    jump: function(obj , first){//触发分页后的回调
        if(!first){ //点击跳页触发函数;当前页为obj.curr
          $(page).val(obj.curr);//获取点击的页码
          $("#memberNo").val("");
          $(query_memberInfo).submit();
        }
    }
})  
</script>
</html>
 
